package com.random.fox.whatspay.bean;

/**
 * 分类对象，准备设计成一个表的类型
 * Created by 渠 on 2014/11/11.
 */
public class Categories {
    //自己的id
    private long id;
    //
    private long parentId;
    //
    private String name;
    //表示为子类
   // private List<Categories> categorieses;


    public Categories() {
    }

    public Categories(long id, long parentId, String name) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
